Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple datasets #45

Merged
merged 20 commits into from
Apr 12, 2023
Merged

Support for multiple datasets #45

merged 20 commits into from
Apr 12, 2023

Conversation

andrrizzi
Copy link
Collaborator

@andrrizzi andrrizzi commented Apr 11, 2023

Description

This PR adds support for multiple datasets in DictionaryDataModule and FastDictionaryLoader. I have also extended a bit the tests and the docstrings and added a couple of working doctest examples.

Status

  • Ready to go

@codecov
Copy link

codecov bot commented Apr 11, 2023

Codecov Report

Merging #45 (38b00d7) into lightning (0ca644c) will not change coverage.
The diff coverage is 0.00%.

@andrrizzi andrrizzi changed the title Multi datamodule Support for multiple datasets Apr 11, 2023
@luigibonati
Copy link
Owner

That sounds good! if i understand it correctly now if you pass a single dataset the behaviour is the same as before, while if you pass a list of dataloaders it will return a dictionary of dictionaries ['dataset0': X, 'dataset1': Y], is this right?

for me you can merge it!

@andrrizzi
Copy link
Collaborator Author

if i understand it correctly now if you pass a single dataset the behaviour is the same as before, while if you pass a list of dataloaders it will return a dictionary of dictionaries ['dataset0': X, 'dataset1': Y], is this right?

Exactly right!

for me you can merge it!

Great! Merging then.

@andrrizzi andrrizzi merged commit 6b5ac84 into lightning Apr 12, 2023
@andrrizzi andrrizzi deleted the multi-datamodule branch April 12, 2023 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants